import request from '@/utils/request'

export const getUsers = (params?: any) =>
  request({
    url: '/getUsers',
    method: 'post',
    params: params
  })

export const updateUsers = (data: any) =>
  request({
    url: `/updateUsers`,
    method: 'post',
    params: data,
  })

export const deleteUsers = (data: any) =>
  request({
    url: `/deleteUsers`,
    method: 'post',
    params: data
  })
